<#if parentId?has_content>
<ul>
    <@_sysDeptList parentId=parentId pageSize=500>
        <#list page.list as a>
            <li _src="sysUser/list.html?parentId=${a.id}">
                <a href="common/user_list.html?deptId=${a.id}" class="exclude-translate" target="ajax" rel="userBox">${a.name!}</a>
            </li>
        </#list>
    </@_sysDeptList>
</ul>
<#else>
<div class="pageContent">
    <div layoutH class="leftPageContent">
        <ul class="tree treeFolder">
            <li>
                <a href="common/user_list.html" target="ajax" rel="userBox"><@t.page 'dept.parent'/></a>
                <ul>
            <@_sysDeptList pageSize=500>
                <#list page.list as a>
                    <li _src="sysUser/list.html?parentId=${a.id}">
                        <a href="common/user_list.html?deptId=${a.id}" class="exclude-translate" target="ajax" rel="userBox">${(a.name)!}</a>
                    </li>
                <#else>
                    <li><a><@t.page 'empty_directory'/></a></li>
                </#list>
            </@_sysDeptList>
                </ul>
            </li>
        </ul>
    </div>
    <div id="userBox" class="rightPageContent">
        <#include "../common/user_list.html"/>
    </div>
</div>
</#if>